package com.ccloud.im.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ccloud.common.im.model.CIMSession;
import com.ccloud.im.domain.UserSession;

/**
 * <p>
 * Im 实时在线用户信息表 服务类
 * </p>
 *
 * @author chentl123
 * @since 2020-09-07
 */
public interface IUserSessionService extends IService<UserSession> {

    void save(CIMSession cimSession);

    UserSession get(CIMSession cimSession);

    void remove(String nioId);

    void clear();
}
